//来电白名单
var PageCallWhiteList = {
    id: "PageCallWhiteList",                   //页面id
    menu: "i18n.lan.menu.basic",    //所属菜单(一级菜单名)
    title: "i18n.lan.menu.PageCallWhiteList",  //标题（二级菜单名）
    icon: "icon-me-user",           //图标
    refreshBtnCmd: "DUMP_CORE",     //刷新按钮指令
    saveBtn: true,                  //保存按钮
    el: [   //控件
        {   //表格
            elname: "datagrid",
            rowCount: Device.getNodesCount("ca"),
            data: {
                width: "470px",
                columns: [
                    [{      //序号列
                        field: 'index',
                        width: 40
                    },
                    {   //号码列
                        field: 'whiteList',
                        editor: Easyui.editor.textbox,
                        dumpKey: "CA<n>",
                        cmdKey: "CA<n>",
                        width: 400
                    },
                    ]
                ]
            },
        },
    ],
}
CmdPage.add(PageCallWhiteList); //添加到页面管理